
#include <protocol.h>
#define zxa07_nrs 0

class zxa_07 : public protocol
{
public:
    int zxa07_set_cnt(int);

    void init(int);
    void threadloop();
    int zxa07_reciver();
    u32 period, count, errCount;
    int status;
    u32 zxa_val[8], zxa07_sum[8];

private:
    u8 rx[32];
    u16 zxa07_buf[zxa07_nrs][8], zxa07_save_index;

    u32 zxa07_lasttick = 0;
};
